package riki.org.test;
public class test {
	
	private static Object	pLock		= new Object();
	private static test		p_instance	= new test();
	
	public static Object getInstance()
	{ 
		synchronized(pLock)
		{
			if(null == p_instance)
			{
				p_instance = new test();
			}	
		}
		return p_instance;
	}
	
	public void trace(String s)
	{
		System.out.println("test:"+s);
	}
}
